<!DOCTYPE html>
<html lang="en">

<head>
  <meta charset="UTF-8">
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
  <title>Document</title>
  <style>
    .wrap {
      width: 100%;
      min-width: 700px;
      height: 100%;
    }

    #header,
    #footer {
      width: 100%;
      height: 30px;
      line-height: 30px;
      text-align: center;
      background: red
    }

    .left,
    .middle,
    .right {
      position: relative;
      float: left;
      min-height: 400px;
    }

    .container {
      padding: 0 200px;
      overflow: hidden;
    }

    .left {
      width: 200px;
      left: -200px;
      margin-left: -100%;
      background: yellow;
    }

    .right {
      width: 200px;
      right: -200px;
      margin-left: -200px;
      background: purple;
    }

    .middle {
      width: 100%;
      background: orange;
    }

  </style>
</head>

<body>
  <div class="wrap">
    <div id="header"></div>

    <div class="container">
      <div class="middle">
        我是圣杯布局我是圣杯布局我是圣杯布局我是圣杯布局我是圣杯布局我是圣杯布局我是圣杯布局我是圣杯布局我是圣杯布局我是圣杯布局我是圣杯布局我是圣杯布局我是圣杯布局我是圣杯布局我是圣杯布局我是圣杯布局我是圣杯布局我是圣杯布局我是圣杯布局我是圣杯布局我是圣杯布局我是圣杯布局我是圣杯布局我是圣杯布局
      </div>
      <div class="left">dddd</div>
      <div class="right">ffff</div>
    </div>

    <div id="footer"></div>
  </div>
</body>

</html>